package com.example.lenovo.downloaddemo.bean;

import java.util.List;

public class RankBean {

    /**
     * msg : 查询成功
     * code : 200
     * data : {"categoryList":[{"c_id":17,"name":"社交精选","img":"/uploads/20190312/4e4cf709687d00f346d39439eee17ec2.png","img_url":"https://www.taobao.com/"}],"banner":[{"bid":1,"pic":"/uploads/20190306/75edbafdd47988930162ba399bc7b595.png","pic_url":"http://www.baidu.com","createtime":1551835412,"updatetime":1551835462},{"bid":2,"pic":"/uploads/20190306/eae4e7e38143a7c6d1a8a811ba72bfd2.png","pic_url":"http://www.baidu.com","createtime":1551835537,"updatetime":1551835537},{"bid":3,"pic":"/uploads/20190306/19e65e744a5b08bc3cba9ebb84f25bb8.png","pic_url":"http://www.baidu.com","createtime":1551842205,"updatetime":1551842205}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<CategoryListBean> categoryList;
        private List<BannerBean> banner;

        public List<CategoryListBean> getCategoryList() {
            return categoryList;
        }

        public void setCategoryList(List<CategoryListBean> categoryList) {
            this.categoryList = categoryList;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public static class CategoryListBean {
            /**
             * c_id : 17
             * name : 社交精选
             * img : /uploads/20190312/4e4cf709687d00f346d39439eee17ec2.png
             * img_url : https://www.taobao.com/
             */

            private int c_id;
            private String name;
            private String img;
            private String img_url;

            public int getC_id() {
                return c_id;
            }

            public void setC_id(int c_id) {
                this.c_id = c_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getImg_url() {
                return img_url;
            }

            public void setImg_url(String img_url) {
                this.img_url = img_url;
            }
        }

        public static class BannerBean {
            /**
             * bid : 1
             * pic : /uploads/20190306/75edbafdd47988930162ba399bc7b595.png
             * pic_url : http://www.baidu.com
             * createtime : 1551835412
             * updatetime : 1551835462
             */

            private int bid;
            private String pic;
            private String pic_url;
            private int createtime;
            private int updatetime;

            public int getBid() {
                return bid;
            }

            public void setBid(int bid) {
                this.bid = bid;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getPic_url() {
                return pic_url;
            }

            public void setPic_url(String pic_url) {
                this.pic_url = pic_url;
            }

            public int getCreatetime() {
                return createtime;
            }

            public void setCreatetime(int createtime) {
                this.createtime = createtime;
            }

            public int getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(int updatetime) {
                this.updatetime = updatetime;
            }
        }
    }
}
